package com.wyw.jpa.learning.dao;

import com.wyw.jpa.learning.entity.Worker;
import org.springframework.data.repository.RepositoryDefinition;

@RepositoryDefinition(domainClass = Worker.class, idClass = Long.class)
public interface WorkerDaoDefinition {

    Worker findByName(String name);
}
